<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
<head profile="http://gmpg.org/xfn/11">
	<title><?php bloginfo('name'); if ( is_404() ) : _e(' &raquo; ', 'dkret'); _e('Not Found', 'dkret'); elseif ( is_front_page() || is_home() ) : _e(' &raquo; ', 'dkret'); bloginfo('description'); else : wp_title(); endif; ?></title>
	<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
	<meta name="template" content="<?php echo TEMPLATENAME ?>" />
	<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Posts RSS feed', 'dkret'); ?>" />
	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Comments RSS feed', 'dkret'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon.ico" />
<?php
	global $ec3;
	$options=get_option('dkret3');
	$ec3->nocss=true;
	wp_head(); ?>
</head>

<body class="<?php sandbox_body_class() ?>">

<div id="wrapper" class="hfeed">

	<div id="header" onclick="location.href='<?php bloginfo('url'); ?>'">
<?php if($options['blogtitle'] == 1 ) { ?>
		<h1 id="blog-title" class="title"><span><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></span></h1>
		<div id="blog-description" class="title"><?php bloginfo('description'); ?></div>
<?php } ?>
	</div><!-- #header .hfeed -->

<?php if ($options['navigationlevel'] != 0) { ?>
	<div id="access">
		<div class="skip-link"><a href="#content" title="<?php _e('Skip navigation to the content', 'dkret'); ?>"><?php _e('Skip to content', 'dkret'); ?></a></div>
<?php if($options['rss'] == 1 ) { ?>
		<span class="access-rss"><a href="<?php bloginfo('rss2_url') ?>" title="<?php _e('RSS 2.0 feed for the posts','dkret') ?>"><?php _e('Posts','dkret') ?></a></span><span class="access-rss-comments"><span class="access-sep">|</span><a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php _e('RSS 2.0 feed for the Comments','dkret') ?>"><?php _e('Comments','dkret') ?></a></span>
<?php } ?>
		<?php dkret_globalnav(); ?>
	</div><!-- #access -->
<?php } ?>